package com.y2.authprj.dao.auth;

import java.util.List;

import com.y2.authprj.bean.auth.model.RoleauthorityInfo;


public interface IRoleauthorityDao {
	
	/**
	 * 权限配置(添加)
	 * @param roleauthority
	 */
	public void add(RoleauthorityInfo roleauthority);
	
	/**
	 * 逻辑删除
	 * @param id
	 * @return
	 */
	public int deleteRole(int roleauthorityId);
	
	/**
	 * 条件分页
	 * @param staffInfo
	 * @return
	 */
	List<RoleauthorityInfo> queryByChose(RoleauthorityInfo roleauthority);
	

}
